scale: Fix an uninitialized value
authorTimm Bäder <mail@baedert.org>
Fri, 9 Aug 2019 08:33:43 +0000 (10:33 +0200)
committerTimm Bäder <mail@baedert.org>
Fri, 9 Aug 2019 12:30:01 +0000 (14:30 +0200)
gtk/gtkscale.c

index 887af19200fc34276d98bac46f89cc7a090d4942..9627d278f579f9c9a6b70b12081eba4761d3c053 100644 (file)
@@ -597,6 +597,7 @@ gtk_scale_size_allocate (GtkWidget *widget,
           marks_rect.x = 0;
           marks_rect.y = 0;
           marks_rect.width = marks_width;
+          marks_rect.height = range_rect.height;
           gtk_widget_size_allocate (priv->top_marks_widget, &marks_rect, -1);
         }